.tab {
    border: 1px solid blue;
    width: 80%;
    margin: auto;
    border-collapse: collapse;
}

.tab td {
    border: 1px solid blue;
}